package com.zy.design.pattern.bridge;

/**
 * @author zhaoyi
 * @date 2021/6/16 12:11
 * 修正抽象化(RefinedAbstraction)角色：扩展抽象化角色，改变和修正父类对抽象化的定义。
 */
public class Circle extends AbstractionShape {

    public Circle(ISize size, IColor color) {
        super(size, color);
    }

    @Override
    void draw() {
        System.out.println(size.get() + color.get() + "圆");
    }
}
